package com.example.design.beautiful.unit_test;

public class TransactionLock {
    public boolean lock(String id) {
        return RedisDistributedLock.lockTransction();
    }

    public void unlock() {
        RedisDistributedLock.unlockTransction();
    }
}